<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administration Page</title>
<!--<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> -->
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/jquery-1.4.2.js"></script>
<link type="text/css" href="<?php echo base_url().'assets/js/jquery.ui.all.css'; ?>" rel="stylesheet" />	
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.ui.core.js'; ?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.ui.widget.js'; ?>"></script>
<!--<script type="text/javascript" src="<?php echo base_url().'assets/js/jquery.ui.datepicker.js'; ?>"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/i18n/jquery.ui.datepicker-da.js'; ?>"></script>	
<script type="text/javascript">
	/*$(function() {
		$.datepicker.setDefaults($.datepicker.regional['']);
		$("#ceventdate").datepicker($.datepicker.regional['en-UK']);
		$("#locale").change(function() {
			$('#ceventdate').datepicker('option', $.datepicker.regional[$(this).val()]);
		});
	});*/
</script>-->
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/thickbox.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/menu.js"></script>
<script>
  jQuery(document).ready(function(){
    $("#tr").hide();
	$("img#english").addClass('activelanguage');
	
    $("img#turkey").click(function () {
	  $(this).addClass('activelanguage');
      $("#en").hide();
	  $("img#english").removeClass('activelanguage');
	  $("#tr").show();
    });
	$("img#english").click(function () {
	  $(this).addClass('activelanguage');
      $("#tr").hide();
	  $("img#turkey").removeClass('activelanguage');
	  $("#en").show();
    });

  });
jQuery(document).ready(function(){
jQuery('a').click(function(){
        if (jQuery(this).attr('href').indexOf('delete',1) != -1) {
            if (!confirm ('Are you sure you want to do this?')) {
                return false;
            }
        }
    });   
});
</script>
<style type="text/css">
<!--	
	@import url('<?php echo base_url(); ?>assets/admin/css/global.css');
	@import url('<?php echo base_url(); ?>assets/admin/css/mystyle.css');
	@import url('<?php echo base_url(); ?>assets/admin/css/menustyle.css');
-->
</style>
<!-- JS Library -->
    <script type="text/javascript" src="<?php echo base_url(); ?>assets/admin/scripts/jquery.js"></script> 
    <script type="text/javascript" src="<?php echo base_url(); ?>assets/admin/scripts/ui.js"></script>
    <!-- End. JS Library -->
	
	<!--[if IE 6]>
    <script src="<?php echo base_url(); ?>assets/admin/scripts/ie-png-fix.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(document).ready(function () {
            DD_belatedPNG.fix("*");
        });
    </script>
    <![endif]-->
</head>
<?php
	/*if ($this->session->userdata('logged_in_status')==false)
	{
		redirect(base_url().index_page().'/admin/');
	}*/
	session_start(); 
	if ($_SESSION['logged_in_status']==0)
	{
		redirect(base_url().index_page().'/admin/');
	}

?>
<body>

<div id="header">
    <div class="SubWrapper">
        <div class="Logo">
			<h1><a href="admin-banner01.htm" title="Western Thrace Association of Australia">Western Thrace Association of Australia</a></h1>
		</div>
        <div class="TopRight"> 
            <div class="Welcome">
                <div class="ImageWelcome"><img src="<?php echo base_url(); ?>assets/admin/img/img-user.jpg" alt="Use image" /></div>
                <div class="TextWelcome">
                    <p class="FS12">Welcome!</p>
                    <p class="FS11">Logged in as Admin | <a href="<?php echo base_url().index_page(); ?>/admin/logout" title="<?php echo $this->lang->line('logout'); ?>"><?php echo $this->lang->line('logout'); ?></a></p>
                    <p class="FS11">Change your password? | <a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/changepassword/" title="<?php echo $this->lang->line('changepass'); ?>">Click here</a> | </p>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="mainContent">
    <div class="SubWrapper">
       <div class="LeftColumn">
            <div class="P10">
                <h2 class="Title01 P10">Site Control Panel</h2>
                
                <div id="menu">
                    <ul>
                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/"  id="Dashboard">Dashboard</a></li>
                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/bannermanager" id="BannerManager">Banner Manager</a></li>
                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/newsmanager" id="NewsManager">News</a></li>
                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/eventsmanager" id="EventsManager">Events Manager</a></li>
                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/downloadmanager" id="DownloadsManager">Downloads Manager</a></li>
                        <li class="Parent"><a href="#" title="Publications">Publications</a>
                            <ul>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/elelemanager" id="elelemanager">Elele Magazine</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/schoolmanager" id="schoolmanager">School Magazines</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/anthologymanager" id="anthologymanager">Anthology & Books</a></li>
                            </ul>
                        
                        </li>
                        <li class="Parent"><a href="#" title="Facilities">Facilities</a>
                            <ul>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/reception " id="reception ">Reception </a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/schoolintro" id="schoolintro">School</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/cafe" id="cafe">Cafe </a></li>
                            </ul>

                        </li>
                        <li class="Parent"><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/workgroup" id="workgroup" title="Work Groups">Work Groups</a>
                            <ul>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/education" id="education">Education</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/publications" id="publications">Publications</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/women" id="women">Women's</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/music" id="music">Music</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/youth" id="youth">Youth</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/sport" id="sport">Sport</a></li>
                            </ul>

                        </li>
                        <li class="Parent"><a href="#" id="newsletter" title="Newsletter">Newsletter</a>
                            <ul>                                
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/subscribers" id="subscribers">Subscribers</a></li>
                                <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/mailtemplate" id="mailtemplate">Mail templates</a></li>
                            </ul>

                        </li>
                        <li class="Parent"><a href="#" title="Pages">Pages</a>
                             <ul>
                                 <li class="Parent1"><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/homemanager" id="homemanager">Home</a></li>
                                 <li class="Parent1"><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/aboutmanager" id="aboutmanager" title="About">About</a>
                                 <ul>
                                 <li class="Parent1"><a href="#" id="">History</a>
                                    <ul>
                                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/historymanager" id="historymanager">&nbsp;&nbsp;&nbsp;&nbsp;History</a></li>
                                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/presidentmanager" id="presidentmanager">&nbsp;&nbsp;&nbsp;&nbsp;Presidents</a></li>
                                    </ul>
                                    </li>
                                    
                                 <li  class="Parent1"><a href="#" title="Committees">Committees</a>
                                    <ul>
                                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/executivemanager" id="executivemanager">&nbsp;&nbsp;&nbsp;&nbsp;Executive Committee</a></li>
                                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/auditingmanager" id="auditingmanager">&nbsp;&nbsp;&nbsp;&nbsp;Auditing Committee</a></li>
                                        <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/disciplinemanager" id="disciplinemanager">&nbsp;&nbsp;&nbsp;&nbsp;Discipline Committee</a></li>
                                    </ul>
                                 </li>
                                 </ul>
                                 </li>
                                 <li><a href="<?php echo base_url().index_page(); ?>/adminpage/cpanel/information/contactmanger"  id="contactmanger">Contact</a></li>
                             </ul>
                        </li>
                        
                         
                    </ul>
                </div>
                
            </div>
       </div>
       <?php echo $content; ?>
    </div>
</div>

<div id="footer">
    <div class="SubWrapper">
       <div class="FooterText">Copyright &copy; 2011 IdeaBox, all rights reserved</div>
    </div>
</div>
</body>
</html>
